package cn.chaos.bio01;

import java.io.BufferedOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

public class StreamComp {

    public static void main(String[] args) {
        String server = "localhsot";
        int port = 8081;
        try {
            Socket socket = new Socket(server, port);
            DataOutputStream out = new DataOutputStream(
                    new BufferedOutputStream(socket.getOutputStream()));
            
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
}
